package com._119yn.host.gst200.service;

import com._119yn.host.gst200.database.entity.PointTableRecord;

import java.io.FileNotFoundException;
import java.util.Collection;
import java.util.List;

public interface PointTableService {

    boolean isImported();

    void importPointTable() throws FileNotFoundException;

    void importPointTable(List<PointTableRecord> pointTableRecords);

    PointTableRecord getByPanelAndDeviceAddressAndDeviceType(int panel, int deviceAddress, int deviceType);

    PointTableRecord getByPanelAndDeviceAddressAndDeviceType(int panel, String deviceAddress, String deviceType);

    PointTableRecord getByDeviceId(String deviceId);

    List<PointTableRecord> getAllControllers();

    List<PointTableRecord> getDeviceByPanel(Collection<Integer> hostIds);

    String getStandardDevCode(int devCode);

    String getStandardDevType(int devType);

    String getDtuDeviceId();

    String getDtuDeviceAddress();

    List<PointTableRecord> getAll();

    PointTableRecord getDtu();

}
